package com.bawei.live.repos

import com.bawei.common.entity.VideoEntity
import com.bawei.http.ApiBaseResponse
import com.bawei.live.api.LiveServerApi
import javax.inject.Inject


class LiveRepository @Inject constructor(private val apiServer: LiveServerApi) {

    suspend fun getRecommendVideo(page:Int, pageSize: Int): ApiBaseResponse<List<VideoEntity>>{
        return apiServer.getRecommendSimpleVideo(page, pageSize)
    }

}